QUERY

get_last_pending_transfer_for_account

@mount("ft4.crosschain.get_last_pending_transfer_for_account") query get_last_pending_transfer_for_account(account_id: byte_array, target_blockchain_rid: byte_array, recipient_id: byte_array, asset_id: byte_array, amount: big_integer): (tx_data: byte_array, op_index: integer, sender_account: immutable_mirror_struct<account>)?

Same as core.crosschain.get_last_pending_transfer_for_account. Retrieves the pending transfer which was last created for this account that matches the provided parameters.

Parameters

  • account_id — the id of the account from which the transfer were made
  • target_blockchain_rid — blockchain rid of the chain that will receive the transfer
  • recipient_id — the id of the account which will receive the transfer on the target chain
  • asset_id — id of the asset which was sent
  • amount — how much of the asset that was sent
© 2024 Chromia